#{extends 'main.html' /}
${session.put("main", "profile")}
					#{styleSheet 'TagCloud.css'/}
		#{script 'bmi.js'/}
		#{script 'Tagcloud.js'/}
<div id="subMenu">
	<h4 class="headSubNav">Sub menu</h4>
	<ul>
		<!-- YOU CAN PLACE YOUR LINKS HERE -->
		<li><a href="@{Users.showWall()}">My Wall</a></li>
		<li><a href="@{Users.viewUserProfile()}">My Profile</a></li>
		<li><a href="@{RequestController.showRequests()}">Show Requests</a></li>
		<li><a href="@{NotificationController.viewNotification()}">My Notification</a></li>
		<li><a href="@{Application.sendInv()}">Send Invitation</a></li>
		<li><a href="@{ProfileController.myDrafts()}">My Drafts</a></li>
		<li><a href="@{ActionLogs.viewLog()}">The Log</a></li>
			
		<li><a href="@{IdeaController.getFeaturedIdeas()}">Feature Ideas</a></li>
								<li><a href="@{TopicController.getFeaturedTopics()}">Featured Topics</a></li>
		<li><a href="@{Organizations.getTopOrganizations()}">Top Active Organizations</a></li>
		<li><a href="@{Users.getMyTopics()}"> My Topics</a></li>
		<li><a href="@{Users.getMyIdeas()}"> My Ideas</a></li>
	</ul>

	<div id="search" class="teaser">
		<form action="@{Application.searchResults()}" method="GET">
			<input style="float: left; background: #fff;" onclick="this.value=(this.value=='Search')?'':this.value; return false;" onblur="this.value=(this.value=='')?'Search':this.value; return false;" type="text" value="Search" name="searchKeyWord" class="inputText" />
			<input style="float: right;" type="image" src="/public/images/search.png" alt="Submit" />
			<div class="clear"></div>
			<span class="error">#{error 'searchKeyWord' /}</span>
		</form>
		<div class="button">
			<a href="@{Browse.advancedSearch()}">Advanced Search</a>
		</div>
		<div class="clear"></div>
	</div>
	<div class="TagCloud">
	#{Fat7y.Tags.tagCloud/}
	</div>
</div>

<div id="main">
	<div id="viewWrapper">#{doLayout /}</div>
</div>